package com.itheima.vo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 封装分页数据的类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class TableDataInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Object list; //数据

    private Integer pageNum; //当前页码

    private Integer pageSize; //当前页条目数

    private Long total; //总行数

    private Long totalPage; //总页数


}
